<div class="container">
  <h1>current_url()</h1>
  <p class="signature"> function current_url(): string </p>
  <h2>Description</h2>
  <div class="description">
    <p>Get the current URL of the web page.</p>
  </div>
  <h2>Return Value</h2>
  <table>
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td>string</td>
        <td>The current URL as a string.</td>
      </tr>
    </tbody>
  </table>
  <h2>Example Usage</h2>
  <div class="example">
    <pre>
echo current_url();
// Output: http://example.com/current_page</pre>
  </div>
</div>
